#main-navigation {
    position: absolute;
    width: 100%;
    z-index: 100;
}

.logo {
    margin-top: 16px;
    width: 109px;
    height: 40px;
    background: url(../images/logo2x.png) no-repeat;
    background-size: 109px;
}

#main-navigation .nav-pills>li.active>a,
#main-navigation .nav-pills>li.active>a:focus,
#main-navigation .nav-pills>li.active>a:hover {
    color: #EDA643;
    background-color: transparent;
}

#nav>li.active>a::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 4px;
    background: #EDA643;
    border-radius: 2px;
    top: 40px;
    right: 20%;
}

.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover {
    background-color: transparent;
    font-size: 16px;
}

#nav>li>a {
    font-size: 16px;
    color: #fff;
}

#nav>li>a:hover,
#nav>li>a:focus {
    color: #EDA643;
    background-color: transparent;
}

.dropdown-menu {
    font-size: 18px;
    color: #fff;
    background: #fff;
}

#main-navigation .navbar-right .dropdown-menu {
    right: auto;
    left: auto;
}

#main-navigation .dropdown-menu>.active>a,
#main-navigation .dropdown-menu>.active>a:focus,
#main-navigation .dropdown-menu>.active>a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #EDA643;
    ;
    outline: 0;
}

.dropdown-menu>li>a {
    display: block;
    padding: 8px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.9;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 400;
    color: #8B96A6;
}


#footnav>li.active>a,
#footnav>li.active>a:focus,
#footnav>li.active>a:hover {
    font-weight: 500;
    background-color: #8B96A6;
}

#footnav .open>a,
#footnav .open>a:focus,
#footnav .open>a:hover {
    background-color: transparent;   
}

#footnav>li>a {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}
#footnav>li>a::before {
    font-size: 24px;
}
#footnav>li{
    width: 20%;
    margin: 0;
}
#footnav>li>a:hover,
#footnav>li>a:focus {
    color: #EDA643;
    background-color: transparent;
}

.dropdown-menu {
    color: #fff;
    background: #fff;
}

#footnav .dropdown-menu>.active>a,
#footnav .dropdown-menu>.active>a:focus,
#footnav .dropdown-menu>.active>a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #3B559A;
    outline: 0;
}